package com.cfun.mylearn.Support.module;

import android.text.TextUtils;

/**
 * Created by flyop on 19/06/2016.
 */


public class APISession extends DBModel {
    private String session_id;
    private String account_id;
    private String device_id;

    public APISession() {
    }

    public String getSession_id() {
        return session_id;
    }

    public void setSession_id(String session_id) {
        this.session_id = session_id;
    }

    public String getAccount_id() {
        return account_id;
    }

    public void setAccount_id(String account_id) {
        this.account_id = account_id;
    }

    public String getDevice_id() {
        return device_id;
    }

    public void setDevice_id(String device_id) {
        this.device_id = device_id;
    }

    public boolean isEmpty() {
        return TextUtils.isEmpty(session_id);
    }

    @Override
    public String toString() {
        return "APISession [session_id=" + session_id + ", account_id=" + account_id + ", device_id=" + device_id + "]";
    }

}
